<script lang="ts" setup>
import { useAppStore } from '@/store'
const { accountInfo } = storeToRefs(useAppStore())
</script>

<template>
  <div class="about">
    <nut-cell-group v-if="accountInfo">
      <nut-cell title="小程序版本" :desc="{'develop': '开发版', 'trial': '体验版', 'release': '正式版'}[accountInfo.envVersion]" />
      <nut-cell title="小程序版本号" :desc="accountInfo.version" />
    </nut-cell-group>
  </div>
</template>

<route lang="json">
  {
    "layout": "home",
    "style": {
      "navigationBarTitleText": "关于",
      "backgroundColorContent": "#f1f1f1"
    }
  }
  </route>
